package com.wrupple.muba.desktop.server.bussiness.seo;

import java.io.PrintWriter;

public class HTMLHelper {
	private static final String head_first = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n"
			+ "<html><head><title>";
	// <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">
	private static final String head_end = "</title></head>";
	private static final String body_first = "<body>";
	private static final String body_end = "</body></html>";

	public static void createHeader(String title, PrintWriter out) {
		out.write(head_first);
		out.write(title);
		out.write(head_end);
	}

	public static void startBody(PrintWriter out) {
		out.print(body_first);
	}

	public static void closeBody(PrintWriter out) {
		out.print(body_end);
	}


}
